import java.io.FileInputStream;
import java.io.IOException;

public class Test06 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("myio\\a.txt");
//        int b;
//        while((b=fis.read())!=-1){
//            System.out.print((char)b);
//        }
        while(fis.read()!=-1){
            System.out.print((char)fis.read());
        }
        fis.close();

    }
}
